package com.app.couponsharelife.data.bean

import java.io.Serializable

class LifeHomePageBean : Serializable {

    var belowBanner: List<BannerBean> = arrayListOf()
    var classify: List<ClassifyBean> = arrayListOf()
    var topBanner: List<BannerBean> = arrayListOf()

    class BannerBean {
        /**
         * accountId : 0
         * id : 0
         * value : string
         */

        var accountId: String = ""
        var id: String = ""
        var value: String = ""
    }

    class ClassifyBean : Serializable {
        /**
         * createTime : 2018-12-13T05:39:41.205Z
         * id : 0
         * name : string
         * parentId : 0
         * picUrl : string
         * sort : 0
         */

        var createTime: String = ""
        var id: String = ""
        var name: String = ""
        var parentId: String = ""
        var picUrl: String = ""
        var sort: String = ""
    }

    class Banner() {
        var images: List<String> = ArrayList()
    }

    class ClassifyListBean(list: List<ClassifyBean>) : Serializable {

        var classify = mutableListOf<ClassifyBean>()

        init {
            classify.addAll(list)
        }
    }

    var bannerTop = Banner()

    var bannerBot = Banner()
}
